package com.zf.bm.common.core.sys.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

@Slf4j
public class Login implements Serializable {
    private String userName;
    @JSONField(serialize = false)
    private String password;
    private String validateCode;
    private String keyRole;
    private String cert;
    private String cryptograph;
    private String usbKey;
    public String getUserName() {
        return userName;
    }

    @JsonProperty("username")
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public String getKeyRole(){return keyRole;}
    public String getCert(){return cert;}
    public String getCryptograph(){return cryptograph;}

    public String getUsbKey() {
        return usbKey;
    }

    public void setUsbKey(String usbKey) {
        this.usbKey = usbKey;
    }
}
